package com.intelligent.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.dto.InventoryDetailsQueryDTO;
import com.intelligent.pojo.InventoryDetails;
import com.intelligent.vo.InventoryDetailsVO;

/**
 * 库存明细服务接口
 */

/**
* @author 86188
* @description 针对表【inventory_details(库存明细表)】的数据库操作Service
* @createDate 2025-08-27 15:44:30
*/

public interface InventoryDetailsService extends IService<InventoryDetails> {

    //分页查询
    IPage<InventoryDetailsVO> pageList(InventoryDetailsQueryDTO query);

    //库存明细
    InventoryDetails getDetailById(Long id);

    //新增
    boolean add(InventoryDetails details) throws RuntimeException;

}
